package dnl.utils.mail;

import java.util.List;

/**
 * 
 * @author Daniel Orr
 * 
 */
public class MessageDetails {

	private String subject;
	private String[] recipients;
	private String content;
	private MimeType mimeType = MimeType.plain;

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String[] getRecipients() {
		return recipients;
	}

	public void setRecipients(String[] recipients) {
		this.recipients = recipients;
	}

	public void setRecipients(List<String> recipients) {
		this.recipients = recipients.toArray(new String[recipients.size()]);
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public MimeType getMimeType() {
		return mimeType;
	}

	public void setMimeType(MimeType mimeType) {
		this.mimeType = mimeType;
	}

}
